/* eslint-disable no-param-reassign */
// 项目统计
import moment from 'moment'
const initQueryParams = {
  taskType: 1,
  // 任务
  taskIds: [],
  startTime: moment().subtract(1, 'months').format('YYYY-MM-DD'),
  endTime: moment().endOf('day').format('YYYY-MM-DD')
}
const state = {
  queryParams: {
    ...initQueryParams
  }
}
const mutations = {
  resetStatisticsTaskQueryParams (state) {
    state.queryParams = {
      ...initQueryParams
    }
  }
}

const actions = {

}

export default {
  state,
  mutations,
  actions
}
